package com.example.ssm.service;

import com.example.ssm.vo.QueryVo;
import com.example.ssm.pojo.Customer;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerService {
    List<Customer> list();

    PageInfo<Customer> list(QueryVo queryVo);


    Customer queryCustomerById(Long id);


    void updateCustomerById(Customer customer);

    void deleteCustomerById(Long id);

    void add(Customer customer);
}
